<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8">
<title>文書類補完計画</title>

<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Imagetoolbar" content="no">
<meta name="keywords" content="文書類補完計画" />
<meta name="description" content="文書における言語の壁を取り除き，知識を融合する。" />

<link rel="stylesheet" href="./style.css" type="text/css" media="all" />
<script type="text/javascript" src="./prototype.js"></script>
<script type="text/javascript" src="./setting.js"></script>
<script type="text/javascript" src="./adam/tagwindow.js"></script>


	<link type="text/css" href="jQuery/ui/ui.all.css" rel="stylesheet" />
	<script type="text/javascript" src="jQuery/jquery-1.3.2.js"></script>
	<script type="text/javascript" src="jQuery/ui/ui.core.js"></script>
	<script type="text/javascript" src="jQuery/ui/ui.selectable.js"></script>



<script type="text/javascript" src="jQuery/LavaLamp/jquery.easing.min.js"></script>
<script type="text/javascript" src="jQuery/LavaLamp/jquery.lavalamp.min.js"></script>
	<link rel="stylesheet" href="popup/popupwindow.css" type="text/css" media="all" />
	<script type="text/javascript" src="jQuery/PopUpWindow/popupwindow-1.7.js"></script>
<script type="text/javascript">
        $(function() {
            $("#1, #2, #3").lavaLamp({
                fx: "backout",
                speed: 700,
                click: function(event, menuItem) {
                    return false;
                }
            });
        });


	$(function() {
	  $("#description").selectable({
	    stop: function(){
	      var result = $("#select-result").empty();


	      var selectedId = new Array();

	      $(".ui-selected", this).each(function(){
		if(this.getAttributeNode("id") != null){
		  var attr = this.getAttributeNode("id").nodeValue;
		  if(attr.indexOf("t")==-1 && attr.indexOf("waku")==-1 && allWords[attr].tag[0]!="sign"){
		    var index = attr;
		    result.append(" #" + (index));
		    selectedId[selectedId.length] = attr;
		  }
		}
	      });

if(selectedId.length == 1){
  showTagWindow0( selectedId[0] );
}
else if(selectedId.length > 1){
  showTagWindow2( selectedId );
}

	    }
	  });
	});




</script>
</head>

<body onload="setList()">
  <div id="leftCanvas"><h1>INDEX</h1>
  </div>
  <div id="mainCanvas">
    <div id="header">
      <div id="title"></div>
      <div id="mode">
<!--	<input type="button" value="Edit" onclick="" /><br>-->
	<input type="button" value="ADD TAG" onclick="setTagMode()" />
      </div>
      <div id="langmode">
<!--	<ul class="lavaLampWithImage" id="1">-->
	<ul class="lavaLampWithImage">
	    <li class="current"><a href="#">English</a></li>
	    <li><a href="#" onclick="setJPN()">Japanese</a></li>
	    <li><a href="#" onclick="setCHN()">Chinese</a></li>

	</ul>
      </div>
    </div>
    <div id="contents">
      <div id="description"></div>

      <div id="tag"></div>
      <div id="meanbox"></div>
    </div>
<p id="feedback">
You've selected: <span id="select-result">none</span>.
</p>

  </div>

  <!--隠しノード-->
  <div id="tagWindow" style="display:none ; cursor: default;"></div>

</body>

</html>
